home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Media 22
/
PC MEDIA CD22.iso
/
share
/
prog
/
txtmenu1
/
siren.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-01
|
2KB
|
72 lines
/*
About TXTMENU
This program is to generate a txt-menu in DOS. It is mainly for users to
develop their own txt-based menu. It reads the .cfg file to get the menu
contents and return diffrerent value to indicate the select result.
It has wonderful sound effect and some time counting facility. Besides,
it includes all SOURCE CODE !
To start it just type the exe file and the program will work.
With SOURCE CODE , you can easily modify it for your own purpose.
You can distribute the source code freely only together with this readme
file. Since this is a shareware, you are required to register in order
to use it in your own program. It will only cost you $50.
However, if you do not like to pay so much, you can also pay as much as you
wish to register. Just think the time and energe you will save by this
program !
After you register for this program, you will get permission to
include the source code to your own program. Besides,you will also
get more detailed comments of the source code and you can get answers
from author about any programming problems without extra fee.
Money and Check should mail to:
Mr. Yongyong Xu,
1940 Howard Street. Apt. 333,
Kalamazoo, MI 49008
U.S.A.
Telephone: (616) 387-7569
EMail: yxu@cs.wmich.edu (prefered)
or
99xu1@grog.lab.cc.wmich.edu
When you cannot reach me by the above address, try the next:
-----------------------------------------------------------------------
<Permanet Home Address>
Mr. Xu Yongyong,
Building 34 Room 604,
HuayuanXinCun , Chang Zhou
Jiang Su Province 213016
P.R.China
Tel:(86)-(519)-(328-0177)
*/
#ifndef __SIREN_H
#define __SIREN_H
#include <stdlib.h>
#include <dos.h>
#include <conio.h>
void siren(int i, unsigned int delays, unsigned int rate );
#ifdef __YYXMAIN
int DELAY=30000;
int RATE=200;
#else
extern int DELAY;
extern int RATE;
#endif
#endif